package com.ruoyi.system.service;

/**
 * @Version 1.0
 * @ClassName: AccountService
 * @Description:
 * @Author 邓贤文
 * @Date: 2022/4/20 9:39
 */
public interface AccountService {
    /**
     * 账户扣减
     * @param userId 用户 ID
     * @param price 扣减金额
     */
    void reduceBalance(Long userId, Double price);
}
